package org.vison.wonfu.framework.soa.annotation;

import java.lang.annotation.*;

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Inherited
public @interface HttpMethod {
    /**
     * @see SoaRequestMethod
     */
    SoaRequestMethod method() default SoaRequestMethod.GET;


    SOAParamsMode paramsMode() default SOAParamsMode.STANDARD;

    SOAResultMode resultMode() default SOAResultMode.OBJECT;

    /**
     * complete result
     */
    boolean completeResult() default false;

    /**
     * fixed params append to url
     */
    boolean fixedParamsToUrl() default false;
}
